export default () => {
    return {
        schedule: {
            cron: '0 0 0 * * *',
            type: 'all',
        },
        async task(ctx) {
            await ctx.model.User.update({'user_search_num':0},{where:{is_delete:'1'}});
            await ctx.model.SearchResult.destroy({where:{is_delete:'1'}});
        },
    };
};
